<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8">
<link rel="stylesheet" type="text/css" href="css/lky_base.css"/>
<title>杭州东站枢纽欢迎您</title>
<style>
#dada{ width:1600px; height:700px;}
#ddiv{ max-width:1600px;}
</style>
</head>
<body>
<div style="text-align:center;">
    <div style=" text-align:center; height:700px; margin:0 auto;  overflow:hidden;" id="ddiv">
        <div id="dada" style="">
        <OBJECT>
            <param name="wmode" value="transparent" />
            <EMBED src="flash/boot.swf" wmode="transparent" WIDTH="1600" HEIGHT="700" NAME="2" ALIGN=""></EMBED>
        </OBJECT>
        </div>
    </div>
</div>
<script type="text/javascript"> 
<!-- 
var winWidth = 0; 
var winHeight = 0; 
function findDimensions() //函数：获取尺寸 
{ 
//获取窗口宽度 
if (window.innerWidth) 
winWidth = window.innerWidth; 
else if ((document.body) && (document.body.clientWidth)) 
winWidth = document.body.clientWidth; 
//获取窗口高度 
if (window.innerHeight) 
winHeight = window.innerHeight; 
else if ((document.body) && (document.body.clientHeight)) 
winHeight = document.body.clientHeight; 
//通过深入Document内部对body进行检测，获取窗口大小 
if (document.documentElement && document.documentElement.clientHeight && document.documentElement.clientWidth) 
{ 
winHeight = document.documentElement.clientHeight; 
winWidth = document.documentElement.clientWidth; 
leftWidth = (1600 - document.documentElement.clientWidth)/ 2; 
} 
//结果输出至两个文本框 
//document.getElementById("ddiav").style.width=winWidth+ "px";
//
document.getElementById("ddiv").style.width=winWidth+ "px";
//
document.getElementById("dada").style.marginLeft= "-" + leftWidth+ "px";
} 
findDimensions(); 
//调用函数，获取数值 
window.onresize=findDimensions; 
//--> 
</script>    
</body>
</html>
